type github.com/refraction-networking/utls.recordType
14 uses
github.com/refraction-networking/utls (current package)
common.go#L74: type recordType uint8
common.go#L77: recordTypeChangeCipherSpec recordType = 20
common.go#L78: recordTypeAlert recordType = 21
common.go#L79: recordTypeHandshake recordType = 22
common.go#L80: recordTypeApplicationData recordType = 23
conn.go#L343: func (hc *halfConn) decrypt(record []byte) ([]byte, recordType, error) {
conn.go#L345: typ := recordType(record[0])
conn.go#L422: typ = recordType(plaintext[i])
conn.go#L643: typ := recordType(hdr[0])
conn.go#L896: func (c *Conn) maxPayloadSizeForWrite(typ recordType) int {
conn.go#L975: func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) {
conn.go#L1415: recordType(c.rawInput.Bytes()[0]) == recordTypeAlert {
u_common.go#L507: if recordType(contentType) != recordTypeHandshake {
u_conn.go#L895: recordType(c.rawInput.Bytes()[0]) == recordTypeAlert {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |